package cn.wx.shop.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.wx.shop.dao.SysFileDao;
import cn.wx.shop.entity.SysFile;

@Service
public class SysFileService {

	@Autowired
	SysFileDao sysFileDao;
	

	public int addFile(SysFile file){
		return sysFileDao.addFile(file);
	}

	public SysFile getFile(String fileId){
		return sysFileDao.getFile(fileId);
	}
}
